package com.example.clockin.JavaUi;

import com.example.clockin.JavaUi.slice.setProflieAbilitysliceSlice;
import com.example.clockin.ResourceTable;
import com.haibin.httpnet.builder.Request;
import com.haibin.httpnet.builder.RequestParams;
import com.haibin.httpnet.core.Response;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.ability.AbilitySlice;
import ohos.aafwk.ability.DataAbilityHelper;
import ohos.aafwk.ability.DataAbilityRemoteException;
import ohos.aafwk.content.Intent;
import ohos.agp.components.*;
import ohos.agp.utils.LayoutAlignment;
import ohos.agp.window.dialog.ToastDialog;
import ohos.app.Environment;
import ohos.data.resultset.ResultSet;
import ohos.media.image.ImageSource;
import ohos.media.image.PixelMap;
import ohos.media.image.common.Size;
import ohos.media.photokit.metadata.AVStorage;
import ohos.utils.net.Uri;

import java.io.*;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

import com.haibin.httpnet.HttpNetClient;

import com.alibaba.fastjson.JSONObject;


public class JavaUi extends Ability{

    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(setProflieAbilitysliceSlice.class.getName());
//        addActionRoute("action.call_Album", SetProfileSlice.class.getName());
//        addActionRoute("action.map", MapAbilitySlice.class.getName());
//        addActionRoute("action.addImage", SelectAddIMGSlice.class.getName());
//        /*告白墙Java上传*/
//        addActionRoute("action.AddContent", JSAddConfessionSlice.class.getName());
    }
}
